#1 元素输出和查找：  请输出0-50之间的奇数，偶数，质数；能同时被2和3整除的数；

if __name__ == '__main__':
 sum = 0
 print("偶数是：")
 for a in range(0, 51):
     if a%2 == 0:
         print(a)

 print("奇数是：")
 for b in range(0, 51):
     if b%2 == 1:
         print(b)

 print("质数是：")
 for c in range(2, 51):
     for i in range(2, c):
       if c%i == 0:
          break
     else:
         print(c)

 print("能同时被2和3整除的数：")
 for d in range(0, 51):
       if d%6 == 0:
         print(d)